package com.example.springbooteasycode.controller;

import com.example.springbooteasycode.utils.qrcode.QRCodeGenerator;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * HelloController
 * @author Csa
 * @version 1.0
 * @date 2025/07/07 14:07
 */
@RestController
public class HelloController {

    /**
     * hello方法
     * linux请求：curl http://127.0.0.1:8080/hello
     */
    @GetMapping(value = "/hello")
    public String hello() throws Exception {

        System.out.println("helloWorld!!!");
        return "hello!!!";
    }

}
